//
//  CLComentDataModel.h
//  chanlin
//
//  Created by Ryan on 14-11-22.
//  Copyright (c) 2014年 chanlin. All rights reserved.
//

#import "CLDataModel.h"

@interface CLComentDataModel : CLDataModel

SGR_SINGLETION(CLComentDataModel)

- (void)loadTopicWithUrl:(NSString *)url
                   title:(NSString *)title
                     doc:(NSString *)docId
                   block:(void (^)(BOOL success,NSDictionary *dic))block;

- (void)submitCommentWithTopicId:(NSString *)topicId
                                  content:(NSString *)content
                                  replyID:(NSString *)replyId
                                    block:(void (^)(BOOL success,NSString *commentId))block;

- (void)anonymousSubmitCommentWithTopicId:(NSString *)topicId
                                  content:(NSString *)content
                                  replyID:(NSString *)replyId
                                    block:(void (^)(BOOL success,NSString *commentId))block;

- (void)loadTopicWithTitle:(NSString *)title
                   topicId:(NSString *)docId
                   pageNum:(int)pageNum
                     block:(void (^)(BOOL success,NSDictionary *dic))block;

- (void)support:(NSString *)topicId
      commentID:(NSString *)commentID
          block:(void (^)(BOOL success,NSString *responseStr))block;

- (void)submitComment:(NSString *)topicID
              content:(NSString *)content
              replyID:(NSString *)replyID
                block:(void (^)(BOOL success,NSString *commentId))block;



@end
